<template>
    <div class="tubiao" @click="tohome">
        <van-icon name="wap-home-o" size="40" style="line-height: 50px;"/>
    </div>
</template>
<script>
import { Icon } from 'vant';
export default {
    components:{
        [Icon.name]:Icon
    },
    methods:{
        tohome(){
            this.$router.push({name:"Home"})
        }
    }
}
</script>
<style lang="less" scoped>
.tubiao{
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 20%;
    width: 50px;
    height: 50px;
    background-color: #666666;
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    text-align: center;
    
    
}
</style>